archimport: first, make sure it still compiles
archimport: first, make sure it still compiles

(ML: And introduce safe_pipe_capture())

Signed-off-by: Eric Wong <8c2951295f8292b0c03727bc4652981172298eae@yhbt.net>
Signed-off-by: Martin Langhoff <54669547a225ff20cba8b75a4adca540eef25858@catalyst.net.nz>

destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git