use webbrowser module to open uri instead of using popen. Fixes #5751