Fix a DB file bug.