ENH: added support for windows \ directories.