Fix diff output with Unicode files in Python 2
Use sys.exit() instead of exit()

Builtin exit() is discouraged:
https://docs.python.org/2/library/constants.html#exit

"They are useful for the interactive interpreter shell and should not be
used in programs"