Fixed backward read in cached stream.
Merged