Make core.excludesfile working on Linux