core: support xattr

cleanup