pub fn export(path: &Path, entries: &[Entry]) -> Result<()>
Write entries to a file in the format implied by its extension.