I just finished doing the rear brakes. I ended up disconnecting the wire and using a 12V battery from my UPS to wind the EPB in before removing the caliper. Once I had the new pads in and the caliper back on, I pressed the brake pedal a few times to settle the pads and piston, and then connected the battery the other way around to wind the EPB back out until the motor slowed down. Reconnected everything, put the wheel on and operated the EPB on and off about 3 times before driving the car. It all worked out very well.
One other thing, the piston has some dimples and the service manual says to use a special tool to twist it back in, but mine just pushed straight back in with finger pressure, so that's not needed. I like not twisting the pistons if I don't have to, easier on the seals which are operating straight the rest of the time and keeps the dimples lined up for the bump on the pads.
It was well worth doing, one of my side pins had seized, and one pad had literally rusted off the backing plate!