Make missing directories on save.