copy write-ahead-log to tmpdir, VACUUM the db before using it
use db.execute instead of shelling out to sqlite3
Merge pull request #2 from thisissmithj/master

copy write-ahead-log to tmpdir, VACUUM the db before using it