api, io: move FlushingWriter
io: export FlushingWriter
io: export FlushingWriter.wrote via method
api: use FlushingWriter from the io package
provision/docker: add handler for sshing to containers

Related to #430