Fix naming of export file during migration

No Issue
- The method that generates a filename for the export during
  a migration returns a promise, not the filename directly,
  so the export file was being named [object Object].
Merge pull request #3485 from jaswilli/migration

Fix naming of export file during migration