[fix][progress] makes sure bar always reaches 100% and omits progress bar if stdout is not TTY or jitsu was called with raw option