[#2127] Un-hardcode config dir in smsi_AdmAppendToTopOfCoreRE

Now build temp file name off of dir name of core.re file.