utility class for 'overwrite logging' to the command line using backspace characters