fix rsync is unsuccessful for Mingw. #325