Fixed incorrect identification and use of time dimensions for transform
variables (wasn't checking whether the time dimension had length 1, and
was using a time dimension in the new (byte-array) dimensions even when
the original did not have one).