Close the bootlog key if value enumeration or writing to the log file fails.
drwxr-xr-x - freeldr
drwxr-xr-x - msvc6
drwxr-xr-x - os2
drwxr-xr-x - posix
drwxr-xr-x - reactos
drwxr-xr-x - rosapps