save fluxes to disk