pub fn tee_from_reader_partial<R: Read, W: Write>( reader: &mut R, stdout: &mut W, attrs: BTreeMap<String, String>, save_on_error: bool, ) -> Result<String>