Py2 unicode

1) force sys.setdefaultencoding to `utf-8`
2) Small fixes for unicode issues with python2

Needs more testing....