Python 3 support :)

Tested on 3.4