os.popen() is deprecated since python 2.6. Resolved with use of subprocess module. Change-Id: I1f06fb713b25c42f975e525711afaf2cf4a58a5a Closes-Bug: #1529836