Revert "dlman: Removed function that's a carry-over from the attempt to use pipes."

This reverts commit 8f0140a64acd2ac8915542d2a5e5a64b2c7752aa.
dlman: Made a minor error; code's not quite right right now.
dlman: Does not yet have all the interface I'd like, but it's currently stable. N.B. it can only log one job at a time currently.