Fix pstore creation.
Merge pull request #49 from peter-murach/master

Fix PStore adapter