A software glitch that paralyzed the Mars “Spirit” rover earlier this year was caused by an unanticipated characteristic of a DOS file system, a NASA scientist said Monday. The flaw, since fixed, was only discovered after days of agonizingly slow tests complicated by the limited “windows” of communication allowed by the rotation of Mars, said Robert Denise, a member of the Flight Software Development Team at NASA’s Jet Propulsion Laboratory.