Fixed a bug where read would read 0 bytes if file end was aligned with a
sector boundary