fix save in Firefox

- fixes the `save` button in firefox, using file://