Mms: Handle null inputstream from missing file but valid uri.

  - For when you adb restore, an image may corrupt or be missing,
    therefore, we can't always assume that our inputstream from a
    what appears to be a valid file uri won't be null.

Change-Id: I78367c4808fb9967bb750b8713f2cec75805dc05
(cherry picked from commit 1091b7e647bce7e84c511ff8a6c72bad48c4074a)