Photoshop JavaScript script salvando e documento de fechamento

Estou tendo problemas para salvar por algum motivo; Estou usando o Photoshop CS5.1 (se essa for realmente a causa do problema)

error 8800: General Photoshop error occurred. 
This functionality may not be available in this version of Photoshop.
Could not save a copy as C:\...\Temp001.jpeg0011338281522" 
because the file could not be found


var thistimestamp = Math.round(new Date().getTime() / 1000);
saveFile = new File( "/Users/Barny/My Pictures/Temp001" +thistimestamp+ ".jpeg" )
saveOptions = new JPEGSaveOptions();
saveOptions.embedColorProfile = true;
saveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
saveOptions.matte = MatteType.NONE;
saveOptions.quality = 9;
app.activeDocument.saveAs(saveFile, saveOptions, true,Extension.LOWERCASE);

Eu gostaria que o script fosse salvo e fechado, mas continuo recebendo este erro. Estou usando o Photoshop CS5.1 (se essa for realmente a causa do problema)

questionAnswers(1)

yourAnswerToTheQuestion