Fix an off-by-one error when comparing file size

This fixes a subtle bug where if we don't get new entries into a log file for more than 10s we compare the file size to offset, and because the result is off by one we assume that the file has been truncated and read from the beginning.