Compatibility with netrc v0.8.0 changes

Fixes #520 by handling the breaking changes introduced in v0.8.0 of the netrc gem.