a few py3 changes
Merge branch 'master' of github.com:sunlightlabs/earwig