Pygments 1.6 and python 3 fixes

While [packaging][1] your nifty tool for Arch Linux, I encountered 2 problems.
Arch ships Pygments 1.6 currently and the standard python interpreter is 3.x.
With my changes it works as expected.

[1]:https://aur.archlinux.org/packages/pjson-git/