Make -printblocktree compatible with headers first