Today I noted that in a recently added file the cleaning resulted in \% which gave an error in pdflatex. I wonder whether this has been dealt with already, otherwise I would try to make a bugreport.
The repeated cleaning should recognize and discrimate % and %. Otherwise a double backslash will generate a newline in latex and no longer excape the % sign.