fix reference to unicode in SvnRepo.canonical_rev

Python 3 deprecates the need for 'unicode' so this causes a NameError when
it is referred to.