ensure raw_input returns str in zmq shell

matches raw_input.  Some things can't handle unicode objects (e.g. `help()`).

closes #1145