fix Windows bug in detecting untracked files