wsgi expects a bytes object, not a str anymore