Use backspace (\b) instead of carriage return (\r)

If the printed string is longer than the console window, it is wrapped onto a new line and \r will fail to erase it, creating artifacts -- for example, if a long description is passed to tqdm(). Using backspaces (\b) instead will clear multiple lines.