malformed database schema - unable to open a temporary database file for storing temporary tables