pygettext: explicitly open files as utf-8

When running it through SSH, I couldn't open files with non-ascii chars.