Fix small error where templates were not considered UTF8.