Check if query was valid by checking the number of entries returned.
Change from project entries to new stat format. Update GOB types to
remove entries we took it, and to add in the dir.FileInfo type.
Remove type db struct{} since we don't use it anywhere.
Move createDataFiles to be next to the method that uses it.
Switch stat_project over to returning a list of files in the
dir.FileInfo format. Updated the unit tests.