regedit: use the right function to reopen a hive