docs: public static void download(URL url, File file) throws IOException
    {
      final File partialFile = new File(file.getAbsolutePath() + PARTIAL_FILE_SUFFIX);
      try {
        Files.copy(url, partialFile);
        renameTo(partialFile, file);
      }
      finally {
        // last resort to ensure partially file does not hang around on error
        // do not test for delete execution fail since, at this point, the partial file state is not certain
        partialFile.delete();
      }
    }