docs: public static File createTempFile(final Framework framework) throws IOException {
          String fileExt = ".tmp";
          if ("windows".equalsIgnoreCase(framework.createFrameworkNode().getOsFamily())) {
              fileExt = ".tmp.bat";
          }
          final File dispatch = File.createTempFile("dispatch", fileExt, new File(framework.getProperty(
                  "framework.tmp.dir")));
          registerTempFile(dispatch);
          return dispatch;
      }