Add -hmac option to dgst from 0.9.7 stable branch.