Revert "use apsw over sqlite"

This reverts commit 511d8c5e315c812ba794d756ef2d04945bb92856.