Fetch Hex with wget or curl

This way we can use https and do peer verification without bundling
certificates with elixir.
Add file exists check on windows when installing archive