Is this a bug in Java that mkdirs doesn't work?