Fixes to ensure revision field is always a string

TiddlyWeb returns it as a number, which seems like it might be an
accident.