Remove UTF-8 BOM of template