Handling DOS-style paths a little better.

Still more to do!