…ter and did some long overdue clean up
If the version of Node.js is less than `0.7`, wait on a `"close"` event from the ImageMagick process instead of `"exit"`. As of `0.7`, the `exit` "fires when the child actually exits, `close` fires when all stdio streams have closed." See: https://groups.google.com/forum/#!topic/nodejs/agsTbL-fco0/discussion
… causes an error on current node versions. sys is util now.
…rking in this branch