Fix removexattr error handling