Buffer RegularFileResource streams to do less read()'s