code: def rename(oldname, newname, overwrite=False):
      """Rename or move a file / directory.
  
      Args:
        oldname: string, pathname for a file
        newname: string, pathname to which the file needs to be moved
        overwrite: boolean, if false it's an error for `newname` to be occupied by
          an existing file.
  
      Raises:
        errors.OpError: If the operation fails.
      """
      rename_v2(oldname, newname, overwrite)
  
imports: import binascii
  import os
  from posixpath import join
  import uuid
  import six
  from tensorflow.python.framework import errors
  from tensorflow.python.lib.io import _pywrap_file_io
  from tensorflow.python.util import compat
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 15 for calling a global function with example usage: rename(oldname, newname, overwrite) without return types