Try to handle Windows pathnames in doctests