Use mkpath to create our directory for the images - since this will make the whole tree if any of it is missing.