regedit: add a switch to open s4 registry
regedit: print error msg if opening samba 3 registry fails