The `finish` event is only available in node 0.10 and newer... How about:

    var finishEventName = (/0\.[0-8]\.[0-9]+/.test(process.version)?'end':'finish')