Writes the specified content to the given path.
The file system path where the content should be written.
The data to be written as a byte array.