To prevent madness like loading a 100MB file into Ruby's memory just to decide whether it is binary or text.