Restore some unintentionally reverted file-ignoring logic

Forgot to keep this around in 78d5aaa.

Test Plan:
Before, `touch datastore/foo` would cause a reload. After, it doesn't.

Auditors: desmond