Handle new-style user/group entries in the restore script.