Put XML export in a try-except block so that a failed export of 1 fit doesn't crash the whole process