You can export the KML from inside Foreflight, too -- when viewing the tracklog, tap the "export" icon (box with an upward arrow) in the top right. You'll be able to email it as an attachment, or send it directly to another app on the device.
(Disclaimer: I just tested this in FF 15.11.1...