Add Python 3k fixes
Merge pull request #60 from nischu7/master

Tiny Python 3k fix