Bug 888865 - [MMS] The name of the sent image is wrong in FFOS device - r=gnarf

* Remove path info before sanitizing filename

Closes gh-10790
(cherry picked from commit 05dbbbcb9706f4e2f0d270598e7745d84dbc95d4)