Fixed a few things for python3.
Python3 doesn't have exception.message any longer.
Merge pull request #7 from linovia/master

Fixed a few things for python3.