McDonald's sales jumped nearly five percent in the third quarter as more customers ate Big Macs and McNuggets for dinner.