Did you check that prior to editing? As you found such files in your collection, I would run a check first. Here are some links to diagnostic tools: