Fix problem when path does not exist yet and we want to set a value: create the path instead of failing