Includes a workaround for older versions of sudo where the sequence number was stored in the unexpanded io log dir.