Changed implementation for netrc path on Windows.

On Windows we now try several paths according to different
environment variables in order of importance; this allows to
preserve the standard "Unixen" behaviour (trying $HOME/.netrc first)
but also allows for more "Windowsy" locations (such as
$USERPROFILE/_netrc, which some other programs like git might favor).