Adding limited support for Python 2 (Unicode literals, unicode -> str, raw_input -> input, print_function)