Issue #8867: Fix `Tools/scripts/serve.py` to work with files containing
non-ASCII content.
diff --git a/Tools/scripts/serve.py b/Tools/scripts/serve.py
index c3b7bdb..89b3d62 100755
--- a/Tools/scripts/serve.py
+++ b/Tools/scripts/serve.py
@@ -19,7 +19,7 @@
 
     if os.path.exists(fn):
         respond('200 OK', [('Content-Type', type)])
-        return util.FileWrapper(open(fn))
+        return util.FileWrapper(open(fn, "rb"))
     else:
         respond('404 Not Found', [('Content-Type', 'text/plain')])
         return ['not found']