removed checking for journal file. Moved setting of busy timeout and PRAGMA synchronous inside cautious-open-database