Replace mkdir with mkdirs