FS-6355 fix for windows delete file