Write indentation spaces in chunks instead of just byte by byte
Write indentation spaces in chunks instead of just byte by byte

Significant improvements for the io tests and minor improvements for the rest

Marwes/pretty.rs,epsilonz/pretty.rs,Marwes/pretty.rs