Updates store database sample to work with current code & fixes sample store files to be extracted correctly [#981]