Fixed the deletion of the cleaned files

The "cleaned" files were getting deleted, and the empty files were
being kept.
So I just changed which file gets removed (the $f) and renamed
the *.old files as .csv.  BAM, keeps the correct files!