Add save as support for Firefox.

A different approach taken for https://bugzilla.mozilla.org/show_bug.cgi?id=738952