Added Encoding support for Set-Content.