Replace call to save with saveAs to save the document.
Merge pull request #90 from jeroenmoors/develop

Replace call to save with saveAs to save the document.