Add missing NcFile::enddef() method, so can create files of all format types