ignores hidden files. using NSCondition to block main thread instead of
primitive while loop. fixes #29
Merge pull request #30 from wayfare/polish/fileoperations

smarter thread blocking. and ignores hidden files.