Move dump_metadata() to where it is in ffmbc, looks better.