U.S. wholesale prices came in hotter than expected in February, driven partly by a sharp increase in food costs.