Fix the format string specifiers in debug traces.