Fix typo with format migration: s/oldformat/oldfmt/.