Convert '%' string formatting to use .format() method instead.