Use salt.utils.get_hash also in local client

Closes #14784.
Merge pull request #14882 from thusoy/chunked-hashing

Use salt.utils.get_hash also in local client