Make NetCDF.create() write global attributes

create() does not seem to do anything with the global attributes given to it. This change makes it actually write them. I'm not sure if this is the right place to add these lines but at least it seems to work for me.