Python 2.6 compatibility regarding format strings.