core: human friendly error for corrupt box metadata