Collect a readable stream's output and errors