Replace `%` with `str.format()` 

From the Python standard docs:

> This method of string formatting is the new standard in Python 3, and should be preferred to the `%` formatting described in String Formatting Operations in new code.

Source: https://docs.python.org/2/library/stdtypes.html#str.format