Ignore .name directories and files

Fixes #1920

Tested on Windows