title: Git, when switching branches I get error: "Deletion of directory '<dirname>' failed. Should I try again?" Started after I set custom folder icon
body: <p>I'm using the git bash on windows (v1.7.10 msysgit).  I set some custom folder icons on some subfolders in my repo the other day and ever since then I can no longer switch between branches without an error like:</p>
  
  <pre><code>blake@ComputerName /c/csharp (AD_NativeRefactor)
  $ git checkout master
  Deletion of directory 'AllertFullfillmentDB' failed. Should I try again? (y/n) n
  </code></pre>
  
  <p>The directory that fails isn't always the same but it's always 1 of the 3 subfolders that I set a custom icon on.  </p>
  
  <ul>
  <li>I have since removed the custom icon's with restore defaults.  </li>
  <li>I've checked file permissions (it's no different then other folders in repo).</li>
  <li>I've tried using Unlocker and no nothing is locking the directory.</li>
  <li>I've tried restarting windows.</li>
  </ul>
  
  <p>Not really sure what to do next.  Any ideas?</p>