Improve dbdump to work for SF1 and SF2 database config files