Encapsulate “fast-export” methods in FastExportFile() class
Pass a “fast-importer” command to the CLI
Use the “done” command to make sure the whole dump is intact
Move arg parsing into main()
Rename “dump” to “file”
bytearray() instead of chunks; factorise FastExport.filemodify_header()