BUG: Zero dimensional variables couldn't be written to file or serialized.

Fixed a bug in which writes would fail if Datasets contained 0d variables.

Also added the ability to open Datasets directly from NetCDF3 bytestrings.