Update Path.cs

Fixed Path.GetDirectoryName() bug when path is in the following form: 'C:filename'