Fixed string formatting on python 2.6