Write GRUB2 config even if the target is a directory.