title: Replace file when downloading
body: <p>Referring to this example: <a href="http://jsfiddle.net/m9nts8r1/" rel="nofollow">http://jsfiddle.net/m9nts8r1/</a> </p>
  
  <p>How can I update the content of <code>updatedText.xml</code> when pressing the 'Download' button, just as it does when the 'Save' button in any application?</p>
  
  <p>In this case I just get another <code>updatedText (1).xml</code>, <code>updatedText (2).xml</code> and so on.</p>
  
  <p>Moreover it would be nice if it was possible to specify the directory where the <code>updatedText.xml</code> is saved.</p>
  
  <p>Has someone an idea?</p>