Merged on error callback from node-optipng-bin and node-jpegtran-bin.