fixing broken test on windows
create directories if not existing