First iteration of a working scidb dump script.