cleanup: drop the `bytes` compatibility for attribute related function
We can rely on the builtins directly now.
https://bz.mercurial-scm.org/1089
$ hg init repo
$ cd repo
$ mkdir a
$ echo a > a/b
$ hg ci -Am m
adding a/b
$ hg rm a
removing a/b
$ hg ci -m m a
$ mkdir a b
$ echo a > a/b
$ hg ci -Am m
adding a/b
$ hg rm a
removing a/b
$ cd b
Relative delete:
$ hg ci -m m ../a
$ cd ..