Handle tailing of files that log roll by resetting index on new file detection