Handle directory names with spaces.