Write UTF-8 text content to a file, ensuring the parent directory exists.
Destination file path.
File contents to write.
A Promise\<void\> which resolves when the file is written.
Promise\<void\>
Write UTF-8 text content to a file, ensuring the parent directory exists.