Python 2.7 fixes

It fixes the original config.py which contains wsgi.conf template