Replace "-" by "_" in directory names