Fix #47 - Handle .tpl files too