catching exception on fs.unlink