Remove redundant numbered parameters in str.format() on Python 3.

This was only necessary on Python 2.6.
Merge pull request #483 from berkerpeksag/format-cleanup

Remove redundant numbered parameters in str.format() on Python 3.