Fix seeking to end of some files might not cause end of file to be notified