debugging the removal of partaly downloaded files so the re-try doesn't result in the file name being altered