fix some idioms incompatible with py 3
fix some idioms incompatible with py 3

peter-hst/psutil,vmolsa/psutil,google-code-export/psutil,end18/psutil,PFZheng/psutil,skyshe/psutil,huson2012/psutil,djhaskin987/psutil,end18/psutil,skyshe/psutil,creativewild/psutil,AlanZatarain/psutil,marmolu/psutil,jucapj/psutil,tigerneil/psutil,huson2012/psutil,stupidcache/psutil,djhaskin987/psutil,shiva21/psutil,skyshe/psutil,vmolsa/psutil,creativewild/psutil,peter-hst/psutil,Alwnikrotikz/psutil,chjwang/psutil,zhengzheng/psutil,jucapj/psutil,google-code-export/psutil,chjwang/psutil,djhaskin987/psutil,tigerneil/psutil,vmolsa/psutil,Alwnikrotikz/psutil,huson2012/psutil,kiranvizru/psutil,kiranvizru/psutil,anfedorov/psutil,end18/psutil,zhengzheng/psutil,shiva21/psutil,AlanZatarain/psutil,tigerneil/psutil,skyshe/psutil,marmolu/psutil,PFZheng/psutil,creativewild/psutil,nmani1905/psutil,google-code-export/psutil,vmolsa/psutil,end18/psutil,stupidcache/psutil,kiranvizru/psutil,google-code-export/psutil,anfedorov/psutil,tigerneil/psutil,nmani1905/psutil,djhaskin987/psutil,kiranvizru/psutil,stupidcache/psutil