DSUtil: Fix an error not being handled in ExportRegistryKey().