backupdb: Support dumping to explicit files and compression.