Remove the string.Replace
method and change your Process.Start
to look like this:
Process.Start(browserPaths[2], string.Format("\"{0}\"", chromeTempFilePath));
You just need to wrap it all in double quotes. This worked for me with Chrome, but I didn't check other browsers.