Glacier archive tree digest fixed

The original code was completely wrong.  I fixed it based on the java sample code and tested it with personal data.  You may want to find a junior dev to write a test that mocks reading from a large file and makes sure that the digest is computed correctly.