Handle io errors when reading full streams.
Handle io errors when reading full streams.

darcs-hash:20100415231037-f546f-3913d69261b1389a4cd266932f4e55bb5688eb9d.gz

nqv/mupdf,nqv/mupdf,nqv/mupdf,nqv/mupdf,nqv/mupdf,nqv/mupdf