Remove unicode byte order mark (BOM) from template files