putArchive method
Keeps bytes, whose SHA-256 the caller has checked is sha256, as
that archive.
Another process putting the same archive at the same moment is not an
error. Throws ArgumentError unless sha256 is 64 lowercase hex
digits.
Implementation
void putArchive(String sha256, List<int> bytes) =>
archives.write(sha256, bytes);