Encodes with percentage strings when setting path