Revert "Send content-length header when getting file"

This reverts commit 6f5f7a98fd3ce53091aacc744f43c7704ba73461.