Updated to fix deprecations with 17
Relax dialyzer spec on internal hash_file helper

The value varies between R15 and Erlang 17 but is really an opaque type
from the perspective of the helper function which is expecting the
result from a call to crypto:hash_init/1.
Merge branch 'jw/17'