Fix missing cleanup of snapshot files