pub fn write_options(bundle: &str, opt: &Options) -> Result<()>