code: def _move_to_backup(path):
      dir = os.path.dirname(path)
      prefix = f"{os.path.basename(path)}_"
      backup = tempfile.NamedTemporaryFile(
          prefix=prefix, dir=dir, delete=True
      )
      log.warning("%s exists, moving to %s", path, backup.name)
      backup.close()
      shutil.move(path, backup.name)
  
imports: import errno
  import functools
  import logging
  import os
  import shutil
  import tempfile
  from guild import config
  from guild import run
  from guild import util
label_desc: Use image node_id 29 for calling a global function with example usage: _move_to_backup(path) without return types