Paksa penulisan file dengan deskriptor file fd ke disk. Di Unix, ini memanggil fungsi fsync() asli; di Windows, fungsi MS _commit().
os.fsync(fd)