Replace instances of printf with format.