Handle file-errors when writing files in ESA.
Handle file-errors when writing files in ESA.

swflint/McCLIM,antifuchs/mcclim,slyrus/mcclim,onixie/mcclim,swflint/McCLIM,onixie/mcclim,swflint/McCLIM,antifuchs/mcclim,slyrus/mcclim,onixie/mcclim