Broke out stuff from db.scm that is used for db file management into dbfile.scm