pyfaf: convert {} to {<number>} in str.format for Python 2.6