cgiar: introduce config option to keep temporary files for later reuse