Add create directory in chunk_recv.