obvious fixes for Windows; skip "." and ".." on iteration