out.writeInt(VERSION);
out.writeUTF(fingerprint);
// TODO: change the format/version to expect a string for this field.
// Version 0, still used by the server side, expects a long.
long changelist;
try {
changelist = Long.parseLong(incrementalVersion);
} catch (NumberFormatException ex) {
changelist = -1;
}
out.writeLong(changelist);
out.writeLong(time);