Infinite loop fixed on large object read.

sr.Read would return 0 as end of stream, but pos did not advanced enough.
Probably unicode characted appeared which advanced 2 bytes, but only 1 char.