'write_xattr' needs to be manually imported from 'utils' now.