Added some statistics reporting to the wav file extractor.