Add extra check for bytes to read in compute_file_sha.
Add tests for adding empty thin packs to object stores.
Merge branch 'master' of git://github.com/jelmer/dulwich