update HTML file extensions for smarty and twig file extensions