use Dir.home for ruby 1.9+

I think this is supposed to return the path to ~/.netrc rather than just to home isn't it?