io: extract stream writer logic from log cmd to io package
provision/docker: container move cmd using stream writer