Fixed an incompatibility in string formatting with python 2.6.

In Python 2.6 it seems that the format method of strings needs
parameters to have a name/number.