Crude implementation of logging to the SD Card.