Add functionality to unpack and repack boot images for editing