docs: @SuppressWarnings("unused")
      private File prepareFile(FileBatch fileBatch) {
          // 处理构造对应的文件url
          String dirname = buildFileName(fileBatch.getIdentity(), ClassUtils.getShortClassName(fileBatch.getClass()));
          File dir = new File(downloadDir, dirname);
          NioUtils.create(dir, false, 3);// 创建父目录
          // 压缩对应的文件数据
          List<FileData> fileDatas = fileBatch.getFiles();
  
          for (FileData fileData : fileDatas) {
              String namespace = fileData.getNameSpace();
              String path = fileData.getPath();
              boolean isLocal = StringUtils.isBlank(namespace);
              String entryName = null;
              if (true == isLocal) {
                  entryName = FilenameUtils.getPath(path) + FilenameUtils.getName(path);
              } else {
                  entryName = namespace + File.separator + path;
              }
  
              InputStream input = retrive(fileBatch.getIdentity(), fileData);
              if (input == null) {
                  continue;
              }
              File entry = new File(dir, entryName);
              NioUtils.create(entry.getParentFile(), false, retry);// 尝试创建父路径
              FileOutputStream output = null;
              try {
                  output = new FileOutputStream(entry);
                  NioUtils.copy(input, output);// 输出到压缩流中
              } catch (Exception e) {
                  throw new PipeException("prepareFile error for file[" + entry.getPath() + "]");
              } finally {
                  IOUtils.closeQuietly(output);
              }
          }
  
          return dir;
      }