fix for 3.4 compatibility
make .netrc parse error more accurate