Replace printfs with "%s" format strings with puts.