a few minor improvement and bug fixes for workload archiver