DownloadProvider: fix secondary storage support

Change-Id: If9aba4c73b24d052b0379d624302ffda03fdf8e4