tor-controlport-filter: rethink rewrite_line() when no replacement matched.
Returning None isn't helpful. The only place (except in other rewrite_* methods) we use it is in a situation where something *must* match (otherwise there's a bug in our code!), so raising an exception seems appropriate.
Showing with 8 additions and 5 deletions