python subprocess popen read stdout