Handle compatible raw_input()