All hidden files are skipped from the test dir

.DS_Store is a platform-specific file for Mac OS. It would be better to skip
all hidden files (which start with a dot).

On Windows however hidden files are marked by a file attribute, so this is
actually only valid on Unix.