pub fn write_okf_bundle(dir: &Path, bundle: &OkfBundle) -> Result<(), String>
Writes a bundle to dir, creating category subdirectories as needed.
dir