Fix wsgi script for py3