nc_sync function

Synchronize (flush to disk) a netCDF File