FromPath converts a file path to a URI for a given client.
Since clients expect URIs to be in a specific format, this function
will convert the path to the appropriate format for the client.
ToPath converts a URI to a file path from a format for a given client.
Some clients represent URIs differently, and so this function exists to convert
client URIs into a standard file paths.