Limit scope of uncache in restoreFiles (fixes #1)