cdm/cfdataset.m: Fix issue 29.

Fix for https://github.com/nctoolbox/nctoolbox/issues/29