Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This fixes when an app that contains a plugin (which means it has a filepath with more parts) gets a back slash in the path for the plugin module. The string replace now replaces all back slashes and not just the first one.
When loading a plugin and setting the path, an extra backslash sneaks when running on Windows. Fixes #9597