Add NewPathFromEncoding to replace Decode

NewPathFromEncoding is consistent with the other NewPath* functions.
Decode was ambiguous and is now deprecated.