Make sure required directories are created (either during install or at runtime)