CA-121667 Fix DeprecationWarning when running on newer Python versions

popen2 has been deprecated on newer Python versions and generates a warning when xsconsole starts.
We always run on Python 2.4 or later, so we are safe to move to using the subprocess module in all cases.