Adopt the read_atomic_bytes/replace_atomic integration proposed by balabommablock-cpu, preserving UTF-8 decoding and the existing lease locks. Exercise a real snapshot reader across an actual replacement instead of only checking helper calls. Adapted-from: https://github.com/balabommablock-cpu/nanobot/commit/8d671457935e44579f37ceffe6dbaf61b36b00be Related to HKUDS/nanobot#6514 Co-authored-by: B Rishabh Rao <262621052+balabommablock-cpu@users.noreply.github.com>