Bug 883032 Browser media save error. Proposed patch

Bugzilla url https://bugzilla.mozilla.org/show_bug.cgi?id=883032