private static String getQuotedString(File file) {
    return Shell.WINDOWS ? String.format("\"%s\"", file.getAbsolutePath()) : file.getAbsolutePath();
  }
Overwrite the golden file with the generated output
@throws IOException If there is a problem accessing the golden or generated file
itests/util/src/main/java/org/apache/hive/beeline/QFile.java