[win] Fix bugs of ignore file.