Work around wsgiref bug

This will allow tests to pass with most recent WebTest