pub fn write_bootinfo<'a, I, W>(tags: I, w: W) -> Result<()>where I: IntoIterator<Item = &'a Tag> + Clone, W: Write,