Calculates the SHA256 tree hash that's used by Amazon Glacier