Solve serious problems with FileTransferTask.
Merge pull request #6 from materialsvirtuallab/master

Fix serious problems with FileTransferTask.