[FINAL] Compile SQLite with temp files off by default

Fixes the notorious "could not open database file" SQLite bug.

My suspicion is that SQLite was trying to open a temporary file somewhere that it didn't have write access to and gave an error message without much detail.