Fix database filename.