'utils.write_xattr' function created which uses whatever method of writing
xattrs exists on the platform (first the 'xattr' module, then the 'setfattr' commandline
tool).

If neither of these facilities are found, 'write_xattr' is left undefined,
and the metadata writer does nothing.