Fix for Python 3

Nice post about using pygments with Jinja2 - The code just need one little fix to work with Python 3.