Build countries.py string as unicode and encode as utf-8 at write time

It was suggested by @mwiencek