Fix Mac OS X xattr and caching issues