Something like a save dialog would be nice.
Have a look at node's fs, and electron's dialog.showSaveDialog.