Writes content to a file.
void writeFile(String path, String content) { io.File(path).writeAsStringSync(content); }