common: Don't assume on-disk layout matches in-memory layout.