public static String getProperty(String key, Properties... props) {
        return getProperty(key, null, props);
    }
Get output stream for writing a file. Directories and file will be created if
they do not exist.

@param file path to the file
@return output stream
@throws IOException when failed to create directories and/or file
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseUtils.java