Clean path string