update HTML file extensions for smarty and twig file extensions

Unit tests broken by #3362