Fix decodePath for non-ASCII chars