Fix attachment marcxml generation