Make installing kernels more robust

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
There really should be no need to call close() on these, or even initialize them outside of the run() call - at least that I see. Was there a special reason for doing this?