igc/writer: Extracted write_extensions() method
igc/writer: Added write_k_record_extensions()