Helper scripts for pt-query-digest