Fix #518

Paths should be protected with quotes in case of spaces