Use regular exceptions

One does not simply `sys.exit` from a library.