Revert "Python 3 compatibility"

Reverts edsu/dflat#8

Whoops, I merged this by accident.