mk_sncosmo_model fix for missing directories.