Model and other initial server changes for #10338
Rename OriginalFile's "sha1" property to "hash".