Write latest kernel version to release specific files

When we write out the version to release specific files which can
be shared over NFS, we can avoid using koji to detect the latest
kernel. Koji detection can be very wrong as the build gets tagged
into different stages throughout the update process.