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