Fix crash caused by 8c1385205a35
(thanks Arfrever for reporting).
#17798: Allow IDLE to edit new files when specified on command line.