Fixed format string incompatibility with py2.6.