Don't blow up on missing db dir.

Resolves #16 (hopefully).