public function set($path, $create = false)
    {
        $zip = $this->zip;
        $flag = $create ? $zip::CREATE : null;

        if ($this->zip->open($path, $flag) !== true) {
            throw new RuntimeException("Failed to open ZIP file $path");
        }

        return $this;
    }