fixed always indeterminate progress bar when transferring a small file