Revert "Revert "Use indices for format() to support Python 2.6. This fixes #77.""

This reverts commit ace39bc4f349ba67c92cfb4b9fc022bef063c064.