NEXUS-6047: Renamed method and removed Files.createDirectories usage

And redirected to new method.