Fix FS_unix.create and FS_unix.write

Would be good to have unit-tests for these at one point ...