FIX file download uses fread

send_file would crash when downloading very large files >1-200Mb. Using
progressive output with fread instread