log error messages from `node-netpbm`