On Python 2.6 we have to send bytes to proc.communicate()

Fixes #288