Ah. Yes that's ugly. But I'd rather se a per path item encode decode. Ie
split by path separator, add them one by one. We probably still need a way
to distinguish between what each uri needs encoded.

Then we should likely always URL encode out of filesystem for windows paths
and raw Linux paths stuff like %X, so that its always safe to URL decode
once to get the true path.