Adding support for remove temp files in the ParallelWrapper