A revision id may be unicode, encode for etags

Discovered this while checking on gitstore. See the
comments on #63.