Replace raw_input with input if available
Remove unicode casting