pub fn download( target: &str, output_dir: Option<&Path>, original: bool, progress: Progress, ) -> Result<Vec<u8>>