Ensuring directories that are necessary for runtime are present