Fix printing transfer information when new file gets transferred.

Sometimes information about file that is being uploaded or downloaded
was not printed when it should.