[Bug #1057266] Pass the parent window to file importers.

This will allow file format importers to properly create dialogs if
needed.