fixed python2/3 compatibility
Merge pull request #20 from stagecoachio/fix/Python2_3Compatibility

fixed python2/3 compatibility