fix filestore xattr bug and copy-from bug