add SHA() of Datum

Also fixed bugs in Open()

Signed-off-by: Tom Grennan <tom@apptimist.co>
add SaveAs of Datum

Signed-off-by: Tom Grennan <tom@apptimist.co>