Update mkdir in store method to use -p flag