Synchronize in-memory changes to disk.
self = sync()
self
Calls netcdf.sync on the underlying file handle.