test for os.PathError on non-existent netrc file