Add root2db2root program, fixup root2root

Signed-off-by: Johannes Ebke <johannes@ebke.org>