Fixed issue with chunking response of files