fixed resync an encrypted library

We need put the download dialog into "merge with existing folder"
mode when resyncing an encrypted library.