twee: The Header.factory() method now takes a 3rd argument

This fixes Twee after the changes in e8454bd1 broke it.