code: def testUTF8StringPath(self):
      file_path = os.path.join(self._base_dir, "UTF8测试_file")
      gfile._write_string_to_file(file_path, "testing")
      with gfile.GFile(file_path, mode="rb") as f:
          self.assertEqual(b"testing", f.read())
  
imports: import os.path
  from tensorboard import test
  from tensorboard.compat.tensorflow_stub import compat, errors
  from tensorboard.compat.tensorflow_stub.io import gfile
label_desc: Use image node_id 21 for calling the FileIoTest obj's underlying member method code with example usage: obj.testUTF8StringPath() without return types