Fixes #28 : if (second err) isn't a string, errors occur.

By checking that (second err) is a string, you can prevent errors.