Add error handler

Add 'error' event handler on spawned process; this allows for example catching the absence of the ffprobe executable.