Yeah, this is a special case where File::join and File::split work differently on Windows vs. Linux.  On Windows, File.split("//foo/bar") returns ["//foo/bar", "/"], so when they get rejoined it will add a trailing slash.  This change makes the tests 'it "should remove a trailing slash from a sharename"' and 'it "should not modify a sharename"' pass in spec/unit/type/file_spec.rb.