Use Popen.communicate instead of Popen.wait in check_output

I had a deadlock when i18nreport launched "find" for a lot of files. I replaced 'wait' by 'communicate' as indicated in subprocess documentation (see : http://docs.python.org/2/library/subprocess.html#subprocess.Popen.wait ).