Fix lossy compression of netcdf4 output files