Using `FileUtils.mkdir_p` for intermediate directories as required