System.IO.Path bugfix

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