Rotary tool drive mechanism