Fix SIGABRT when passing invalid format to `convert`

Fixes mash/node-imagemagick-native#60