Allow spaces in path

Ticket: #4627