Merge pull request #7 from yifan-gu/master

upload start and print windowsize
succeed in downloading single chunk
fix outputfile