Fix file analysis events from coming after bro_done().

BIT-1256 #close