Write data to a file path.
Usage
write_data( path, data, )
path: str
The file path to write to.
data: str
The data to write.