Cleans up extension files for better dox-foundation output.