Correctly treat %s in fmt.