extract_streams_from_pipe(): Fix