Switch from `cut` to `sed`, to be compatible with BSD based systems.

`--bytes` doesn't work with BSD version of cut.

Related: https://github.com/cosmin/git-hg/issues/9