Fix format string warnings properly.