Convert OS-specific path separators to slash.