Fix raw_input/input on Python 3