pub fn write_bundle_to_path( bundle: &PolicyBundle, path: impl AsRef<Path>, ) -> Result<()>
Helper: write a bundle to disk as JSON.