flask.render_template_string should receive str, not bytes (essential )