Guard against null pointer if a tream to a Uri cannot be opened.

bug:11150696

Change-Id: I99cd47712e6ddc9f0a28854da4ff4100d31d6ec1
1 file changed