Writes data to path, a string as UTF-8 and bytes as they are, creating the file or replacing its contents. The parent directory must exist.
data
path
Writes
datatopath, a string as UTF-8 and bytes as they are, creating the file or replacing its contents. The parent directory must exist.