Fix cleaning of .dot and .frag files.