Pass a string instead of hex into revsingle when creating a tag.

I think this will solve the intermittent test failures. Closes #49.