Fix gunicorn.py DispatcherMIddleware incompatibility