python 3 fixes
Merge pull request #10 from poelzi/python3-fixes

python 3 fixes