Rewrite reloading of last log time from binary files.