Support appending to netcdf files (mode='a')

  Allows one to open an existing netcdf file for reading and writing.  This
patch includes the patch for global attributes of type bytes. As the netcdf
file can not be rewriten without bytes strings being dealt with in python 3.
Merge branch 'cdf-append'