Bug in directory_map() helper on windows machines.
helper test case updated