public static File save(InputStream input, File file) {
        return save(null, input, file);
    }
Saves data from the given input stream to the specified file.

@param input non-null input stream
@param file  target file, could be null
@return non-null file
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseInputStream.java