public static void stringToFile(final String string, final Path file) {
        stringToFile(string, file, DEFAULT_CHARSET);
    }
Takes a string and writes it to a file.
stroom-util/src/main/java/stroom/util/io/StreamUtil.java