Exclude thumbnail directory properly on Windows