Avoid using pipe during archive creation. Use semaphores and direct memory copy.