code: def fs_obj_rename(self, old_path, new_path, flags):
          
          if not isinstance(old_path, basestring):
              raise TypeError("old_path can only be an instance of type basestring")
          if not isinstance(new_path, basestring):
              raise TypeError("new_path can only be an instance of type basestring")
          if not isinstance(flags, list):
              raise TypeError("flags can only be an instance of type list")
          for a in flags[:10]:
              if not isinstance(a, FsObjRenameFlag):
                  raise TypeError(
                          "array can only contain objects of type FsObjRenameFlag")
          self._call("fsObjRename",
                       in_p=[old_path, new_path, flags])
docs: Renames a file system object (file, directory, symlink, etc) in the
          guest.
  
          in old_path of type str
              The current path to the object.  Guest path style.
  
          in new_path of type str
              The new path to the object.  Guest path style.
  
          in flags of type :class:`FsObjRenameFlag`
              Zero or more :py:class:`FsObjRenameFlag`  values.
  
          raises :class:`VBoxErrorObjectNotFound`
              The file system object was not found.
          
          raises :class:`VBoxErrorIprtError`
              For most other errors. We know this is unhelpful, will fix shortly...