[Libguestfs] Remove temporary directories created during appliance building along error paths (RHBZ#769680)