Improve debugging when SQLite database open fails.