Move homePath() and netrcFilename to platform files.

Gets them properly defined at build time instead of switching on
runtime.GOOS at runtime.
Easier to change install location.