Use bytes.Equal instead of bytes.Compare.

Suggested by @jrick