Changed NetCDF3 string check to match that used in open_dataset.