public static void writeBytes(File file, byte[] bytes)
			throws FileNotFoundException, IOException {
		try (OutputStream os = new FileOutputStream(file)) {
			os.write(bytes);
		}
	}
Writes an array of bytes to a file.
@param file the file to write to
@param bytes the array of bytes to write
@throws FileNotFoundException thrown if the file path is invalid
@throws IOException thrown if the file can't be written to.
Ghidra/Framework/Utility/src/main/java/utilities/util/FileUtilities.java