[FIX] Correct Build._attach_files
[IMP] Add XML format export