ReadonlypublishPublishes bytes atomically at path (see the module comment) and
returns their SHA-256 as 64 lower-case hexadecimal digits. On failure
the final name is left as it was, unless the failure came after the
rename, while flushing the directory.
ReadonlyreadReads the whole file at path as bytes.
ReadonlyreadReads the whole file at path, or none when no file is there (review
item M02). Only a missing file is none; a file that is present but
cannot be read, such as a directory or one without permission, fails.
Reads and publishes state files. Program receives stateFiles; a test may inject another.