Make dump take a FILE * stream rather than only printing to stdout

Renamed dump to dump_entry_data_list