fix for directories that have periods in them