Add utility function for uploading a kernel

Signed-off-by: David Scott <dave.scott@citrix.com>