Quotes for directory names with spaces

Ticket: #3977