Added validation that warns or errors when the ImmutableDB path and its internal state appear inconsistent, helping catch misconfiguration early (commit 55c0cac).
Refactored file-name helpers to reuse a single function for mapping FileType and ChunkNo to ImmutableDB filenames (.chunk, .primary, .secondary), reducing duplication across OnDemand and RemoteStorage (commit af81563).