better xattr exception handling