added utf8 encoding line to python templates

python breaks if it encounters special characters in files without specified encoding.
Which is especially funny if you've got umlauts in your name.

This minimal patch fixes that by adding a -*- encoding:.. -*- line.