Add nc_dataset.write. First basic read+write tests.
Add versioning.