cleanup netrc construction and exception handling; don't try to be a netrc fassade