Cope with the fact that only _mkdir() exists on Windows and that it