Also, it looks like unlinkErr will be specified if the file simply doesn't exist. Should we only unlink if it exists to avoid having to warn about it?