Fix hidden-file ignoring for real.

[finishes #75031398]

Ah, it's hard when the test suite doesn't run this stuff.