[PATCH] tools: fix iterating over argv when recovering xattr