Fixes #7912, add --force-idsegments parameter and --skip-all-segments parameter to core:archive command.