stdin and stdout with tar