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