removing spaces from directories