Prevent random behavior in case of file corruption (fNbytesFree)

This fixes ROOT-6240