message: fix: Create directories when writing JSON output
  Discovered under
diff: @@ -12,6 +12,7 @@ import {
  CallbackLogger,
  PluginHost,
  normalizePath,
  + ensureDirectoriesExist,
  } from "./utils/index";
  import { createMinimatch } from "./utils/paths";
  @@ -405,6 +406,7 @@ export class Application extends ChildableComponent<
  });
  const space = this.application.options.getValue("pretty") ? "\t" : "";
  + ensureDirectoriesExist(Path.dirname(out));
  await FS.promises.writeFile(out, JSON.stringify(ser, null, space));
  this.logger.success("JSON written to %s", out);
  }
  