Create/check the directory before generating CSV reports