Fix stageout script for recording sename.
Allow fake type for output tracking.
Record the number of jobs in the DAG job ad.