Bug 993633 - Add better failure handling in CastingApps.openExternal r=wesj