Jonathan Lucroy provides late offense in 8-5 win