Synchronize a file.
The data written to the file is flushed to the disk (before the call returns to the user)