Replace most sprintfs