Rework snapshot_path.