Fix jinjaext compatibility with Python 3.

Patch by Arfrever.

Fixes: https://github.com/mitsuhiko/jinja2/issues/115
1 file changed