fn ferry<T, W>(recv: Receiver<T>, writer: W, pb: ProgressBar) -> Result<usize>where T: Send + Sync + 'static, W: ObjectWriter<T>,