Added 'NcFile' member function 'sync' to expose nc_sync from netcdf-c