Asynchronously writes data to a file, replacing the file if it already exists.
The encoding option is ignored if data is a buffer.
Asynchronously writes data to a file, replacing the file if it already exists.
The encoding option is ignored if data is a buffer.
Asynchronously writes data to a file, replacing the file if it already exists.
The encoding option is ignored if data is a buffer.