public static void streamToFile(final InputStream inputStream, final String outputFileName) {
        streamToFile(inputStream, Paths.get(outputFileName));
    }
Take a stream to a file.

@param inputStream    to read and close
@param outputFileName to (over)write and close
stroom-util/src/main/java/stroom/util/io/StreamUtil.java