async fn do_download( ui: &Rc<LibraryWindowUi>, asset_id: &str, output_path: &Path, ) -> Result<(), String>