- Prevent zero-length read
- Use FileUtil::getContents($file) instead of $file->read($file->size())
# See pull request #220