Fix xattr handling

which caused non ruby xattr utilities to seg fault