Fix the issue that attachment can not be saved when using firefox nightly

Firefox introduces a new parameter on nsIWebBrowserPersist.saveURI function.
The attach function is broken due to that change.