Fixed TypeError exceptions by using .format().

Before, strings were being concatenated by using +, which doesn't force
variables into their string representations. Using string substitution is a safer approach.

Besides, .format() is the [new standard in Python 3](https://docs.python.org/2/library/stdtypes.html#str.format).

I hit this bug listing checked-out files when there were none.