add an error handler to fs.unlink