Fix syntax error for printing new snapshot.