Issue #1207: Pedigree files exported from IE9 are invalid
Fixed regression in IE8

(cherry picked from commit a81cc88c1a121c27adea1b787a7311fb742fcfa3)