Fixed #23429 -- Coerced `WSGIRequestHandler` log messages to `str`