Added -Encoding parameter for Get-/Set-Content.