Update file end after write to file log.