Implement SplFileObject::fread

I can't test against length < 0 currently, because fread's implementation doesn't match php5