Parsing an arbitrary file path as a Uri or similar - C#