This method returns the drive and path of the path object, so that they are delimited appropriately for the current operating system.