Add support for compound file extensions like .tpl.html