allow PrintIndexFieldTypeStats to print to stdout