Diagnose failure to open a script file