Strip state/ from DB_PATHS[]; make all DBIdToPath(dir, dbid) calls use GetStateDir()