prompt and result for (raw_)input do not need encoding

The original code seems to assume that raw_input in Python 2 takes a byte string and returns a byte string. This isn't right - the prompt and result are always (logically) strings and should need no encoding or decoding - the I/O layer will take care of that.