use `sed -i` instead of `--in-place`

Again, for compatibility between FreeBSD and GNU sed.