MainWindow: Add selection_only parameter to export_file()