win32_apply.c: fix restore of encrypted files and directories