Remove all uses of str.format().