Adjust .format to work with Python 2.6