change directory separator with a string