Fixed Python 3 __unicode__/__str__ compatibility
Merge pull request #573 from APSL/master

Fixed Python 3 __unicode__/__str__ compatibility