Get a string representation of the index. The Dpkg::Control objects are
output in the order which they have been read or added except if the order
have been changed with sort().
Print the string representation of the index to a filehandle if $fh has
been passed.