Replace platform separators with forward slashes.