I noticed that the official node documentation says something startling about fs.exists:
fs.exists
\"fs.exists() is an anachronism and exists only
Because of the second paragraph you quoted.
There is no point in checking whether a file exists, because it could always be deleted right after the check.