DB_FlushFile

This function closes and reopens the DOS file to make sure the file is completely updated on disk. If the database file has not been flushed, a reboot may lose data. To have the database be able to survive user rebooting, this should be periodically called in the Event loop.