Allow specification of datastore directory rather than current dir.