Mechanical deformation of dendrites by fluid flow