Fixed a (long-standing?) problem with fileutil.buildRootname to actually work as expected when given another extension as a parameter. Previous version did not correctly extract rootname from input filename.  This should address the problems with the pipeline not generating DRC.FITS files when processing CTE-corrected singletons (for ACS and WFC3).
Fixed a (long-standing?) problem with fileutil.buildRootname to actually work as expected when given another extension as a parameter. Previous version did not correctly extract rootname from input filename.  This should address the problems with the pipeline not generating DRC.FITS files when processing CTE-corrected singletons (for ACS and WFC3).


git-svn-id: b2984d01ce7493eb058c47b650af6e49d7ab5102@48010 fe389314-cf27-0410-b35b-8c050e845b92

spacetelescope/stsci.tools