I think this is a known bug that’s already been fixed in the latest 1.2 release.
@M.Lau I think you can try running Dgraph 1.2.6 with your data and doing the export. The two versions should be compatible in terms of the data so there’s no need to export/import your data first in order to switch versions. But backup your data before you do this just in case.