python3 fixes
Merge pull request #3 from paylogic/python3-support

python3 fixes