Fixing problems on the file transfer

This commit fixes some problems found on big file transfer.

Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
Merge branch 'master' of https://github.com/guilhermesft/mumudeploy