Remove iostreams include.
Add pragmas to make the sqlite stuff run a little faster.
Do packing of databases with bzip2 in parallel.