add support for WINDOWS/DOS pathnames

in addition to the pul request for DOS/Windows line end character support.