Revert "provision/docker: use safe.Writer and safe.Reader in shell"

A data race detected only in tests preventing the production code to
work is not good.

This reverts commit 5b4e95213872e265837e6e3a6ba3a14ca0528583.