Fixed tar file deletion on Windows platform