Quote paths properly