Reworked format strings to support 2.6

Python 2.6 doesn't support implicit ordering of {} in format strings.