correcting output filenames in reaction-diffusion code