Fix bad DB sql file
check to see if hits are returned.
Fixes Remote file size lookup.
Fixed migration system and updated version numbers.