pub fn captured_text(bytes: &[u8]) -> String
Convert captured stdout/stderr into integration-safe text.