Various fixups following Kenton's code review
Change query for restore to only look at user's installed apps
Change filesystem calls in backup/restore to be async