GIT_SILENT MDB: Check result of fstat(), lseek() and length of strings
(found by Coverity)
FIXED-IN:3.0.1