Remove deprecated os.system and os.popen calls.