Remove System.IO.FileSystem.Primitives dependency