cross platform path seperation

We can use os.path.sep which gives platform specific path seperator. This will saves on conditional checks or is there any specific reason why conditional check is introduced.