Fix clone with filesytem for windows