async fn dumper<'a, S>(dir: &Path, name: &str, stream: S) -> Resultwhere S: Stream<Item = Result<&'a [u8]>> + Send,