Also ensure the existence of parent directories, not just ultimate child ones.