Strip BOM character from template files

Strip BOM character from templates

Fixes #77