cluster: Fix cleaning up old log files.