Ensure the parent directories exist when calling cd_icc_save_file()