command/debug: make better use of atomic operations to write out the debug snapshots to disk
command/debug: make better use of atomic operations to write out the debug snapshots to disk

vamage/consul,kingland/consul,hashicorp/consul,youhong316/consul,youhong316/consul,42wim/consul,youhong316/consul,scalp42/consul,hashicorp/consul,scalp42/consul,youhong316/consul,42wim/consul,youhong316/consul,42wim/consul,42wim/consul,hashicorp/consul,vamage/consul,kingland/consul,vamage/consul,scalp42/consul,kingland/consul,kingland/consul,hashicorp/consul,kingland/consul,vamage/consul,scalp42/consul,42wim/consul,scalp42/consul,vamage/consul