Update DBFile.cc

First page is empty and getlength-1 is the last page