patched the filestore, dirs were not being made in the _base dir
remove debug