fix python 3 compatibility
Merge pull request #45 from ros/py3

fix python 3 compatibility