is there a easy way to take a in memory sqlite database and save it to file, or do i need to recurse through the tables and do it all manualy?