code: def rename(src, dst, overwrite=False):
      if io_mode == BackendMode.DEFAULT:
          if os.path.exists(dst) and not overwrite:
              raise errors.AlreadyExistsError(dst)
          return os.rename(src, dst)
      elif io_mode == BackendMode.TF:
          return gfile.rename(src, dst, overwrite=overwrite)
      else:
          raise ValueError("Unknown IO Backend Mode.")
  
imports: import contextlib
  import glob
  import importlib
  import os
  import shutil
  from enum import Enum
  from absl import logging
  from .None import errors
label_desc: Use image node_id 7 for calling a global function with example usage: rename(src, dst, overwrite) and returns: os, gfile