Fix support for ModelCheckpoint
monitors with dots
#12783
Merged
ModelCheckpoint
monitors with dots
#12783