Fix crash when adding a file from recents or downloaded tabs in DocumentsUI

Change-Id: Ib83c6851a3858b0461a16f934f228921a3607491
Merge "Fix crash when adding a file from recents or downloaded tabs in DocumentsUI" into kitkat