Bug 853351 - Support saving video and audio files

https://bugzilla.mozilla.org/show_bug.cgi?id=853351
https://bugzilla.mozilla.org/show_bug.cgi?id=853352