add beginnings of an IGC file writer (inspired from Gaggle)