code: def _safe_object_name(self, object_name):
          
          extension = get_file_extension(object_name)
          file_name = os.path.splitext(object_name)[0]
          while object_name in self:
              nuid = uuid.uuid4().hex
              object_name = "%s__%s.%s" % (file_name, nuid, extension)
          return object_name
docs: Add a UUID if to a object name if it exists. To prevent overwrites
          :param object_name:
          :return str: