write quorum to file in snapshot.go