Fix syntax error in snapshot_path.