win32_apply.c: rework file deletion