create db directory if it doesn't exist

should fix github issue #72