Ensure directory for store file exists.