static public void writeString(Path toPath, String scriptText) throws IOException {
		Files.write(toPath, scriptText.getBytes());
	}
Java 8 approximate version of Java 11 Files.writeString()
src/main/java/dev/jbang/util/Util.java