Write contents of a Slurpy into hashed pristine. Only files that have not
not yet been hashed (that is, the hash corresponding to their content is
already present in hashed pristine) will be written out, so it is efficient
to use this function to update existing pristine cache. Note that the
pristine root hash will *not* be updated. You need to do that manually.