Fix NPE on Cupcake.

(Works around bug in Cupcake version of android.net.Uri
parcel writing code. Hurray for open source and exception stack crawls!)