Fix check for EOF in RAR format reader.
Add checks for proper return value reading past EOF in RAR archives.