Windshield wiper motor wires

Anyone ever rewire the wiper motor with new wires? Mine still works but, the insulation on the wiring going into the side motor is all cracking off. The bare wires are pretty much touching.

The insulation is cracked beyond the hole they go through into the motor so I haven't been able to put new wires on. Is it hard to open this up and replace the wires?