make it work under python 2.7

Saw somebody requiring a python 2.x version. I've made it work for me. Somebody could give it a try.

Tested in:
Win 7
pelican 3.3.0
python 2.7.6