Support both slashes on Windows when making output dirs