CAPX-24 Actually create the directory when it doesn't exist.