Fix database file path issue.