Handle npm's new cert bug

Fixes #39.