pyxattr: Use standard functions for error handling.