assemblage saveAs with promise