explicit encoding when creating config file

Partial prep for Python 3 support (issue #15).
update bundled expak to v1.1

Partial prep for Python 3 support (issue #15).