Fixed file name for hashes with leading 0
Fixed file name for hashes with leading 0

The code which looks up loose objects was not correctly
formatting strings which have leading zeros, this updates
the code to use the proper format string for Sprintf.

driusan/dgit,driusan/dgit