Changed Group::writeDataset() to Group::write()