Deputies: Park ranger beaten with pipe when he interrupts sexual assault