hardcode UTF-8 encoding in output template, fixes #2