make directory history work with directory names with spaces