[FIXED JENKINS-19764] Ensure parent dir of new builds dir exists.

It makes sense to check <code>mkdirs()</code> result as well. According to Javadoc, it returns "true if and only if the directory was created, along with all necessary parent directories; false otherwise", Its better to just call <code>File::exists()</code> after the call