There is space in the on-board FLASH memory and there are low-level routines to read, write, and erase it. Sometimes weird things have happened while using this due the same SPI bus being use for the TI CC3000 WiFi chip and the external flash. Note this SPI bus is separate from the user SPI bus that you can use. The Spark team is working on a better interface to this flash memory, but you can use the low-level interface until then.
Another user suggested that surrounding the low-level calls with delay(20) improves the reliability since the TI WiFi chip gets serviced during a delay. Be careful writing and erasing this memory because you can do bad things to your core!
delay(20);
sFLASH_EraseSector(FLASHADDR);
delay(20);
...
delay(20);
sFLASH_WriteBuffer(byteBuffer, FLASHADDR, 256);
delay(20);
...
delay(20);
sFLASH_ReadBuffer(byteBuffer, FLASHADDR, 256);
delay(20);