doc: warn of instant truncation of fs.writeFile()

Fixes #7807