store: fix recursive/dir arguments
Merge pull request #1132 from jonboulle/fix_store

store: fix recursive/dir arguments