Write data

Writes data to the specified database path, replacing any existing data at that location.