Use salt.utils.get_hash for hashing

Prevents memory errors for large files since get_hash uses chunked
hashing.
Merge pull request #16328 from basepi/bp-16325

Backport #16325 to 2014.7