Fix pywsgi for PY3