kgexport: Fixed path problem on unix for styles.kajgps
-added an if statement to split according to type of slash (\, /)