Fixed parallelization overwrite of files.