Fix unhandled error event in node v0.8
Merge branch 'unhandled-error' into temp