Renamed temp files to tpl extension