Fix mkdir on JVM on Windows.