when cleaning up, consider windows paths
Merge pull request #18 from legomind/master

when cleaning up, consider windows paths