fixed a bug in the replace in files ps that was not renaming the .out files