Added xattr support to create and write