Replace Get-FileHash with MD5 code that works on PowerShell 3.
Merge pull request #8793 from cchurch/powershell3_compat

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