Abstract out the "is it an absolute path" function, and the path
separator string. Add tests for drive names to the Windows version
of the absolute path function.