Make excludesfiles property crossplatform