move memoizeFiles into utils.codegen, add withTempDir in utils.codegen and make rienIntegrator use withTempDir
add preliminary OcpExport frontend