Simplify stream_read_all