Use % substitution instead of str.format

Python 2.5 does not have str.format() and
it is not strictly necessary here.

Change-Id: If23c8d2a42947381d25d26fced3437cbe35a900f
Merge "Use % substitution instead of str.format"