Clean up the path delimiter mess.