fixed the count of bytes to transfer to the EOF on file expansion
Merge pull request #50 from casidiablo/fix-file-expansion

fixed the count of bytes to transfer to the EOF on file expansion