fix some git-copy-diffs cleanup code

file removing was not robust to filenames with spaces