Compare sqlite result based on dump file for consistency across systems

Binary structure of sqlite files appears to vary somewhat across version
so now we use dump files which should be consistently structured.