Only allow multiple slashes to start a filename on Windows

File.join and friends work differently on Linux (Posix) vs. Windows, so
full_path needs to allow multiple slashes at the beginning of a filename
(UNC path) on Windows, but collapse those into a single slash otherwise.