Allows readAll to work with fseek'ed files. Refs #298.

Transforms rawFileSize into rawRemainingFileSize, it now returns the
remaining bytes of the stream.