(PDB-708) always encode path string

Signed-off-by: Ken Barber <ken@bob.sh>