ensure that the subversion revision field is a string, fixes issue #365