code: public File write(File file) throws IOException {
          try (FileOutputStream fos = new FileOutputStream(file)) {
              write(fos);
              return file;
          }
      }
docs: Writes this JAR to a file.