HPCC-7863 Can't read local files with special chars in filename

This is a partial fix, but should improve most cases (and make none worse).

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>