unix: fix uv_fs_write when using an empty buffer