Add quotes to paths and avoid shelljoin