log error messages from `node-netpbm`

Prevent silent errors from `node-netbpm` when resizing.