=per #15131 Make LocalSnapshotStore fail if it can't create target directory

Fixes #15131