NetcdfFileWriter: look for duplicate variables names in the group when adding a variable.