ModelCheckpoint does not create full path
🐛 Bug

To Reproduce
Run checkpoint_callback = ModelCheckpoint('my/path/')
Only my folder is created.
I think this line discard the last trailing slash. So the directories are not created as intended when the paths are getting split.

Expected behavior
Path should be fully created.