Cooling by flow of coolant through pistons