Python3 compatibility
Merge pull request #20 from colindickson/master

This is great, thanks! I'm in 2.7.5-land so I don't experience these errors.