Use one way of string formatting: replace old `%` style with new `str.format`. Resolve #855.
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>