String formatting should be Py2.6 compatible. Fixes #13218.