async def METHOD_NAME(self, image_bytes):
    file_abspath = self.normalize_path(self.context.request.url)
    if not self.validate_path(file_abspath):
        logger.warning(
            "[RESULT_STORAGE] unable to write outside root path: %s",
            file_abspath,
        )
        return
    temp_abspath = f"{file_abspath}.{str(uuid4()).replace('-', '')}"
    file_dir_abspath = dirname(file_abspath)
    logger.debug(
        "[RESULT_STORAGE] putting at %s (%s)",
        file_abspath,
        file_dir_abspath,
    )
    self.ensure_dir(file_dir_abspath)
    with open(temp_abspath, "wb") as _file:
        _file.write(image_bytes)
    move(temp_abspath, file_abspath)