Fixed a bug in the paging code.

We were ignoring the number of bytes returned by the .read() method of
the IRODSRandomAccessFile class.