Improve the fix for ticket 4399 ('C:foo\bar\' is no more regarded as an
absolute path) and add few tests
Ticket 4399# Windows accepts both '\' and '/' as folder separator so let's handle them
both.