Download function for very large files.

This new download function replaces the original one (commented out); this one writes one
chunck of data at once on the file system and it is suitable to download very large files. It has 
been tested with a file size ~ 770 MB. The original one crashes. It has been tested with Apache 
and Nginx; it does not work with python Simple HTTP Server.