remove spaces from dir names