Fix mmpipe example to use common tools
Fix the DSTAT_OPTS environment variable usage