PNG format has a space for arbitrary metadata. Fireworks stored their proprietary save format inside this, and also rendered the file to flat PNG on save, meaning that you could preview fireworks files in anything that could read PNGs (although the file size would be huge).
Sorry for my laziness to look it up but could you explain "Fireworks just stored projects as an extension chunk of a PNG file" ?