ext/sphinxext: fix py3k compat
Merge pull request #217 from abeutot/master

ext/sphinxext: fix py3k compat