add python utf-8 encoding header to snippets