cpio: simplify stream creation

Signed-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>