handle crypt() errors

```sh
$ node -e 'require("crypt3")("test", "$9$12345")'
```

This should throw an error instead of going segfault...