Fixing unit tests to run on windows
Create directories recursively when copying files