fix bug in netCDF writer process when using temporary path