Get the escaped name of the module usable in filepaths by replacing spaces and underscores.
ImageHistoryDataset.name_safe
dgs.models.dataset.dataset.ImageHistoryDataset.name
dgs.models.dataset.dataset.ImageHistoryDataset.precision