this does all IO in the timer thread, avoids writes that don't change data, and does all writes in multiples of 128 byte chunks. This should be about as friendly to SD cards as we can get.
this makes it easier to switch between ArduPlane and ArduCopter
stores 'eeprom' to a sdcard file