[tor-commits] [tor/master] add_c_file: Replace asserts with exceptions