Implementing suggestion of trejder for large file downloads

Implementation of this discussion: https://github.com/idlesign/ist-yii-cfile/issues/16
Source from: http://stackoverflow.com/questions/597159/downloading-large-files-reliably-in-php/21936954#21936954