Replace Get-FileHash with MD5 code that works on PowerShell 3.

Based on https://github.com/ansible/ansible/issues/8781 - current MD5 function only works on PowerShell 4. Update shell plugin and win_stat module to use code that is compatible with versions 3 and 4.