Fix for stream seek overflows