Fix string-> bytes conversion on backport from 2.x.
diff --git a/Lib/test/test_genericpath.py b/Lib/test/test_genericpath.py
index 4ceb292..4ffc1cd 100644
--- a/Lib/test/test_genericpath.py
+++ b/Lib/test/test_genericpath.py
@@ -285,7 +285,7 @@
                     self.assertIsInstance(abspath(path), str)
 
         # Test non-ASCII, non-UTF8 bytes in the path.
-        with support.temp_cwd('\xe7w\xf0'):
+        with support.temp_cwd(b'\xe7w\xf0'):
             self.test_abspath()