I have found a way to remove all the corrupt files if it helps...
First, I noticed that the good files only have the "A" (archive) file attribute set whereas the corrupt files have "HSAPLO" set. After a bit of digging around I found this site that tells you what these attribute letters stand...