Updating .NET path manipulation when launching Firefox process

Fixes issue #6418.