Update the log file name with rotate_time call.

This ensures that we don't end up with a stale file timestamp.