Fixed TypeError using readline with spawnu

There seems to be a bug in the spawn.readline() function that makes it impossible to use with spawnu objects (i.e. when using strings rather than bytes). I wrote a small patch that fixes this. I tested with Python 3.2 on cygwin. I also included a small test that can reproduce this bug.