--adjust set test correction should count all nonempty sets, not just the ones with at least one significant variant
factor out common set-test write-to-disk