format checksum as a zero-padded hex

instead of a decimal number, checksum should be zero-padded hex (e.g. abcd1234).
```
curl localhost:8080
{
  "version": 0,
  "path": "/",
  "sessionID": -1,
  "type": "dir",
  "checksum": "380030",
  "children": []
}
```