Fix bug 6837 - "Too many open files" when trying to access large number of files