Make core.excludesfiles working on Linux