Remove spaces in dirnames