Lint.
Advance log files if we hit EOF in the middle of a log record. #994
Only advance log file if record goes beyond EOF. #994