Add support for appending to existing netcdf files

Allows opening of existing netcdf files for reading and writing.  Fixes global file attributes of type "string"
(char/bytes/unicode)