filelu: avoid buffering entire file in memory

Avoid buffering the entire file in memory during download, especially
for large files.
This commit is contained in:
Internal Server Error - Gitea: Git with a cup of tea
500 Internal Server Error

Gitea Version: 1.28.0+dev-477-g8b6ad49a5f