Python script to generate Fedora XML files from template files and CSV data