Uploading large files via SFTP

Hey there,

I've just been having some problems with uploading large files on from Windows machine (of course it would be windows). For some reason only bits of files got uploaded.

It seems that if the task were to upload files in series the problem is resolved. Would you accept my pull request to fix this issue?

Thanks,
John