Fix format strings for python 2.6