make HashStore target directory as part of constructor, fixes #379