Refactor; use .NET classes where possible

check https://ci.appveyor.com/project/randy3k/unittesting/build/1.0.85/job/ltk566924hsw9t5r
it seems that `start-download` will download the file as `Sublime%20Text%20Build%203065%20x64.zip` or something similar. So the file is not unzipped.