Snapshot can be boken in some situations.
Since snapshot sync protocol requires every snapshot to be valid, we need to repair every broken snapshot files before sending it out.
Current plan is to validate and repair all exisiting snapshot files once on startup.