Write string to SD card and send string via xbee

My mistake. Fixed.