MODULES:STORE: change store->file api to conform with other calls