Make default operation stats counter names shorter by using filename as the
counter group. This should help with counter names conflicts after truncation.