old_contents: import uuid
  import invoke
  
  
  def random_string():
      return "".join(str(uuid.uuid4()).split("-"))
  
  
  def compress_directory(path):
      cmd = "tar czvf {0}.tar.gz {0}".format(path)
      invoke.run(cmd, hide=True)
      return "{0}.tar.gz".format(path)
  
new_contents: import uuid
  from shutil import make_archive
  import os
  
  
  def random_string():
      return "".join(str(uuid.uuid4()).split("-"))
  
  
  def compress_directory(path):
      return make_archive(path, 'gztar', path)
  
subject: Create utils.py