Reds get 10,000th victory, 9-4 over Cubs