Add two helper shell functions to facilitate extracting transfer statistics from dig output and named log files.