Code: Rescue from throwing (#362)

Fixes #362.
Not sure if https://github.com/rvagg/nan#nanreturnemptystring might make sense here