s3:registry: eliminate race condition in creating/scanning sorted subkeys