Use encoding comments consistently in `*.{py,.py.tpl}` files