removexattr(..., foo) is the same as setxattr(..., foo, NULL, XATTR_REPLACE)