Update the Python wrapper
Support some of the recently added features in OpenZGY/C++ also in the Python wrapper.
- Allow reading from a file opened for write.
- Throw more specific exceptions in a few cases.
- Add ZgyWriter.close_incomplete().
Support some of the recently added features in OpenZGY/C++ also in the Python wrapper.