Replaced .directory by a more powerful pattern.

There's much more than just .directory files to be ignored.