@NonNull
    private static File filenameForHeader(@NonNull final File baseFile, final String name) {
        return new File(baseFile.getAbsolutePath() + "-" + name);
    }
Save an HTTP response to a file.

@param response   the response whose entity content will be saved
@param targetFile the target file, which will be created if necessary
@return true if the operation was successful, false otherwise, in which case the file will not exist
main/src/main/java/cgeo/geocaching/utils/FileUtils.java