Read a stream to completion