Fix __log_filesize to look for end in larger chunks.
Fix ReplayIterator::Valid() to retry if it's invalid. #1106