Stewart, Cubs beat Brewers 8-2 to avoid sweep