close file handle after mmap. fixes #3884
Merge pull request #3886 from tanmaykm/readcsv

close file handle after mmap. fixes #3884