Improve errors when writing out the cpio archive fails. Signed-off-by: Caleb Connolly <caleb@connolly.tech>