cleanup paths to get os specific delimeter