Python3 compatibility

These are quite minor changes, and if you leave the `ENCODING = locale.getlocale()[1]` related lines in `freitag/__init__.py`, you can have the same codebase running on both Python2 and 3... your call