Fix typo (dbpath -> dbdir)
Merge pull request #862 from andrejzverev/typo1

Fix typo (dbpath -> dbdir)