Fix format strings for 2.6.x compat