fix stream_get_contents when no offset is specified

Other file functions can move the offset of the file descriptor. When
the offset is ommitted, use File::m_position to determine where to seek
to.