You can try to do the export with the old Dgraph version. If that fails, directly using badger might also work (Start from scratch without exporting to RDF(Badger)).
Between Dgraph version upgrades you need to check if the underlying disk format which is managed by Badger changes. This is usually the case when a new major version is released.