Move dump_{header,footer} into {Header,Footer}.dump

Signed-off-by: David Scott <dave.scott@eu.citrix.com>