Fix NameError for Ammeter::OutputCapturer