work around bug in canoncpio.  It assumes that reads always complete with full length.  This is only true for files, not for pipes.
cleanup temp files