replace . with _ in folder names